export function getTableData() {
  return new Promise((res, rej) => {
    setTimeout(() => {
      res({
        code: 200,
        data: [
          {
            date: '2016-05-03',
            name: 'Tom',
            firstname: 'Tom',
            lastname: 'Tom',
            address: 'No. 189, Grove St, Los Angeles',
            status: 'success',
            oriaddress: 'No. 189, Grove St, Los Angeles',
          },
          {
            date: '2019-07-05',
            name: 'Jerry',
            firstname: 'Jerry',
            lastname: 'Jerry',
            address: 'No. 189, Grove St, Los Angeles',
            status: 'failed',
            oriaddress: 'No. 189, Grove St, Los Angeles',
          },
          {
            date: '2022-05-03',
            name: 'Spike',
            firstname: 'Spike',
            lastname: 'Spike',
            address: 'No. 189, Grove St, Los Angeles',
            status: 'warning',
            oriaddress: 'No. 189, Grove St, Los Angeles',
          },
        ],
      })
    }, 500)
  })
}
